home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MACD 5
/
MACD 5.bin
/
internet
/
irc_i_dodatki
/
amirc_opsv3
/
ops.doc
< prev
next >
Wrap
Text File
|
1996-04-27
|
8KB
|
250 lines
******************TERMINATOR'S AUTO OPS AND GREETZ SCRIPT********************
RELEASE VERSION 3.0
(28/04/1996)
INTRODUCTION...
Welcome to the third release version of my Ops&Greetz script. This version
contains all the features from the older versions, and MORE :)
The script now has...
1. Better support for wildcarding.
2. The option to specify three chanels where you do not want OPS to take
place. For example, on #Amiga you may not want to appear to be dishing
out ops every time a friend joins.
3. IRC Nickname checking. You can now OP/Greet/Kill people using just their
nickname!
4. Personal greeting definable for every user. You can set a message that
is unique to that user.
5. AutoKick'n'Ban :) Kill off those bad dudes when they join the channel !
6. Personalised ban message for each user.
7. Less bugs ;) (Things run more smoothly)
Please note that all old config files must be re-written to work with the
new script! (Sorry)
WHAT'S IT DO THEN?...
This script enables you to 'Auto Op' and 'Auto Greet' your frineds upon
their joining of a channel. Or 'Auto Kick'n'Ban' those people you just
love ;)
ERM... WHAT DO I DO WITH IT?...
1. Copy the script OPS.AMIRX into the REXX dir in the AmIRC program drawer.
2. Run AmIRC and goto SETUP->EVENTS.
3. Into the arexx string gadget for the JOIN event type this
OPS.Amirx %p
*NOTE* the lower case 'p'
*Errr... Errrr... Ummmm... How do I get it to do OPS?*
Create a file somewhere on your Hard Disk and Call it 'OPS'
(By default this file is called DH1:ops) - The name and location of this
can be changed by editing the script.
Edit the OP.Amirx script and change the line OPS_LIST="DH1:ops" to
wherever you have located it on your Hard Disk.
Create the names of users you want to op in the file DH1:ops
Entries can be in several formats...
The structure of the lines is this...
IRC_NICK : AmIRC_Username@Host.Provider #Amiga #Cybercor #Babylon5
where...
IRC_NICK = the user's IRC nickname.
AmIRC_Username = the user's AmIRC username (found on the connect screen)
Host = the host part of their address e.g 'cybercor' is mine,
because my address is Terminator@cybercor.demon.co.uk
Provider = Your internet providers name e.g. 'demon.co.uk' for me.
#Amiga #Cybercor #Babylon5 = the channels where you do not wish the OPS
to take effect on. If you only want this to
happen on 1 or 2 channels then only enter 1 or
2 entries. If you don't want to use this
feature at all, then just leave the #etc.
out of that line of the config file.
ALL of these options can be replaced with a '*' to act as a wildcard for that
variable. Here is some of the possible cominations
* : *@*.* #Amiga #Cybercor #B5 <- This will OP any user who joins any channel
apart from #Amiga, #Cybercor, #B5
Fred : *@*.* <- This will OP any user who has the IRC nickname of 'Fred'.
* : *@cybercor.* <- This will OP any user at any HOST called 'cybercor'.
* : *@*.demon.co.uk <- This will OP any user who has a demon account.
* : Roland@*.* <- This will OP any user who has the USERNAME of 'Roland'
* : Richard@*.mts.net <- This will OP any user who has a USERNAME of
'Richard' and uses the PROVIDER 'mts.net'. This
line is useful for opping people where the first part
of their address is dynamic. e.g.
Richard@Slip19.mts.net
Terminatr : Roland@cybercor.demon.co.uk #Amiga <- This line will only OP the
user who has the IRC_NICK
of 'Terminatr'. Has the
USERNAME of 'Roland', the
HOST of 'cybercor', and
'demon.co.uk' is their
internet provider. This
method is very secure and
is best for making sure
that a wrong user never
gets accidentally OPed.
Please note when using dynamic IPs that the entire part i.e. 'SLIP19' must
be replaced by the wildcard, like this @*.mts.net and NOT @SLIP*.mts.net
*Umm. Err.. How do I create a Greetz file?*
Create a file (The default is DH1:Greetz), and if the default is not used
edit the script itself, as stated in the OPS section above.
The format of the file is the same as with in OPS, but a personalised
greet for that user can be defined after the first '#'. For example,
* : *@cybercor.demon.co.uk # Hiya Terminator :)
would greet any user at 'cybercor.demon.co.uk' with the greeting
'Hiya Terminator :)'
If you don't want to use a personalised greetng then just leave the # out
and a random greeting will be selected.
The random greetz are...
Hi
Hello
G'day
Mornin'
Afternoon
Evenin'
Re
Greetings
all are followed by the user's nickame.
**Erm.. How can I kill those nasty blighters?**
Here's how :)
Create a file called KILL (DH1:Kill) is default, but it can be changed, as
I have explained in the OPS section. The users and messages are defined in
the same way as in the others, apart from 1 difference - The KILL_TYPE!
There are to types of kill available.
!NICK - Kick the user and then ban's their Nickname from re-entering the
channel. They can rejoin after a change of their nick though. It's
the same as typing '/ban Terminatr@cybercor.'
!HOST - Kick the user and then ban's their HOST from re-entering the channel.
It has the same effect as typing '/ban *@cybercor'
Here's how to ban someone's host, and set their kick reason to 'Get outa here
you filthy swine'
* : *@smeg.demon.co.uk !HOST #Get outa here you filthy swine
The !HOST can be replaced wih !NICK and the #message can be removed if you
want to use your default kick reason.
The script is capable of informing you that you have OPed, Greeted, or Killed
a person. The default is that this is set to 'YES'. But if you wish to turn
this feature off, edit the following lines in the script to "NO".
That's about all you have to do! (It wasn't that difficult was it ;) )
GREET_NOTIFY = "YES" /* This will notify you upon your GREETING of someone*/
OP_NOTIFY = "YES" /* This will notify you when you OP someone automatically */
KILL_NOTIFY = "YES" /* This will notify you when you KILL someone */
*IF IN DOUBT OF THE LAYOUT OF THE CONFIGS DESCRIBED ABOUVE, PLEASE TAKE A LOOK
AT THE EXAMPLES INCLUDED, AND CHANGE THEM TO SUIT YOUR NEEDS*
FUTURE PLANS... (What can you expect in or around version 4!)
I am planning to make the context senstitive greeting applicaple to all users,
not just those in the same country. For example, if someone from the US joins
at 13.50 GMT they would get the greeting Afternoon' which is not the correct
greeting for them.
Speech (Optional) - AmIRC will verbally notify you that you have performed an
action.
Sensi Greet - Only greet a user at sensible times. Removes annoying problems
during a netsplit.
User definable random greetz - the user can define a set of random greetz to
use.
GUI Management - Use of a GUI to edit configs etc.
Anything else you can think of that is feasible. (Tell me)
OTHER SCRIPTS...
I am currently working on another AmIRC script. It will have auto dcc send
functions, as well as many more.
NOW FOR SOME GREETZ...
Hi to - Arma, Robbo, Benefacto, Shadowzz, Morden, Kiequoo, Blob and all the
other people I know who I've forgotten to mention ;)
Many thanks to (Pulse) Richard Ulrich for beta testing.
LAST, BUT NOT LEAST...
Any queries, bug reports, improvements, comments or suggestions for other
scripts contact me...
EMAIL: Terminator@cybercor.demon.co.uk (With the subject OPS.Amirx)
IRC: Terminatr (Terminatr@cybercor.demon.co.uk) #Amiga, #Cybercor
Note: On IRC, other people us the nick Terminatr - so check it's me first!
Hope you enjoy it,
Terminator (Roland Corbet)